package com.nebula.salary.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 用户注册DTO
 *
 * @author codex
 * @since 2022-02-01
 */
@Getter
@Setter
@ApiModel(value="RegisterDto对象", description="用户注册DTO")
public class RegisterDto implements Serializable {
    
    private static final long serialVersionUID = -3363628504424537191L;
    
    @ApiModelProperty(value = "用户名", position = 1)
    private String username;
    
    @ApiModelProperty(value = "用户密码", position = 2)
    private String password;
    
    @ApiModelProperty(value = "姓名", position = 3)
    private String realName;
    
    @ApiModelProperty(value = "手机号码", position = 4)
    private String phone;
    
    @ApiModelProperty(value = "性别", position = 5)
    private String gender;
    
    @ApiModelProperty(value = "年龄", position = 6)
    private Integer age;
}
